import { ACCESSTOKEN } from "@/utils/constant";
import Taro from "@tarojs/taro";

// tokend
export const setToken = (payload: string) =>
  Taro.setStorageSync(ACCESSTOKEN, payload);
export const getToken = () => Taro.getStorageSync(ACCESSTOKEN);
export const removeToken = () => Taro.removeStorageSync(ACCESSTOKEN);
